package com.hl.qzzpbackend.model.dto.jobExpectation;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 更新求职期望请求类
 * @author helong
 */
@Data
@ApiModel(value = "更新求职期望请求类", description = "更新求职期望请求类")
public class JobExpectationUpdateRequest implements Serializable {

    private static final long serialVersionUID = -501989627337185491L;

    /**
     * 求职期望id
     */
    @NotNull(message = "求职期望id不能为空")
    @Min(value = 1,message = "求职期望id不能小于1")
    @ApiModelProperty(value = "求职期望id",name="求职期望id")
    private Long id;

    /**
     * 用户id
     */
    @NotNull(message = "用户id不能为空")
    @Min(value = 1,message = "用户id不能小于1")
    @ApiModelProperty(value = "用户id",name="用户id")
    private Long userId;

    /**
     * 岗位类型id
     */
    @NotNull(message = "岗位类型id不能为空")
    @Min(value = 1,message = "岗位类型id不能小于1")
    @ApiModelProperty(value = "岗位类型id",name="岗位类型id")
    private Long positionTypeId;

}